<ui:composition template="../template/plantilla_01.xhtml"
            xmlns:ui="http://java.sun.com/jsf/facelets"
            xmlns:h="http://java.sun.com/jsf/html"
            xmlns:p="http://primefaces.org/ui"
            xmlns:f="http://java.sun.com/jsf/core"
            xmlns:fn="http://java.sun.com/jsp/jstl/functions">

    <f:metadata>        
        <f:event type="preRenderView" listener="#{usuarioSessionBean.checkLogin}" />        
    </f:metadata>
    
   <ui:define name="head">
       <h:outputStylesheet library="css" name="principalPool.css"/>
       <h:outputStylesheet library="css" name="jquery.countdown.css"/>

       <style type="text/css">
            .filaActiva{
                background-color: yellowgreen;
            }
        </style>

   </ui:define>
    
   <ui:define name="panelCentral">

       <h:form id="formulario" prependId="false">

            <p:panel header="Gestión de Ventas Especiales" style="width:100%;" styleClass="panel">

                <p:tabView id="tb" widgetVar="tabView" >

                    <p:tab id="tblista" title="Lista" >

                        <ui:include src="listaPool.xhtml" />

                    </p:tab>
                    
                    <p:tab id="tbdatos" title="Datos">

                        <ui:include src="datosPool.xhtml" />

                    </p:tab>

                </p:tabView>

            </p:panel>

           <ui:include src="../inventario/buscadorProducto.xhtml" />
       </h:form>
   </ui:define>

</ui:composition>

    
    